package com.gxzy.config;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * 项目启动运行配置
 */

@Component
public class AfterStartDoCfg implements CommandLineRunner {
    private final Logger logger = LogManager.getLogger(this.getClass());

    @Override
    public void run(String... args) throws Exception {
        logger.info("/*==================== 初始化开始 ====================*/");
        logger.info("/*==================== 完成初始化 ====================*/");
    }

}
